package com.xinzhi.savingpot.rminfo.mapper;

/**
 * swf
 * 2021/01/14——18:15:21
 */

import com.xinzhi.savingpot.rminfo.entity.Withdrawal;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * 提现
 */
public interface IWithdrawalMapper {

    /**
     * 添加提现记录
     * @return
     */
    int addWithdrawal(@Param("w") Withdrawal w);

    /**
     * 查询提现记录
     * @return
     */
    List<Withdrawal> getWithdrawal(Integer userid);
}
